import 'package:flower_flutter/model/user_model.dart';
import 'package:flutter/cupertino.dart';

class ProviderState with ChangeNotifier {
  UserModel userModel=UserModel();
  String _name;
  int _age;
  int get age => _age;
  void setAge(int age)  async{
    print(age);
   _age = age;
    userModel.age=age;
    notifyListeners();
  }
}
